package bbs.entity.config;

import lombok.Data;
import org.springframework.stereotype.Component;
import org.springframework.beans.factory.annotation.Value;

@Component
@Data
public class AppConfig {
    @Value("${project.folder:}")
    private String projectFolder;

    @Value("${image.ffmpegCompress:false}")
    private Boolean ffmpegCompress;

    @Value("${inner.api.appKey:''}")
    private String innerApiAppKey;

    @Value("${inner.api.appSecret:''}")
    private String innerApiAppSecret;

    @Value("${isDev:false}")
    private Boolean isDev;

    public String getProjectFolder() {
        return this.projectFolder;
    }
}
